package artid.com.arttogo.bean;

import org.json.JSONObject;

import java.io.Serializable;

/**
 * 
*    
* 项目名称：ArtworkArt   
* 类名称：ArtistRankingParser   
* 类描述：艺术家排名解析+实体类   
* 创建人：耿卫斌   
* 创建时间：2017-1-12 下午2:56:35   
*
 */
public class ArtistRankingParser extends AppItem implements Serializable {
	private static final long serialVersionUID = 1L;
	private String artist_id;
	private String realname;
	private String is_auth;
	private String artnum;
	private String follownum;
	private String imgurl;
	private String memo;
	@Override
	public void parse(JSONObject obj) {
		// TODO Auto-generated method stub
		if (null == obj) {
			return;
		}
		artist_id = obj.optString("artist_id");
		realname = obj.optString("realname");
		is_auth = obj.optString("is_auth");
		artnum = obj.optString("artnum");
		follownum = obj.optString("follownum");
		imgurl = obj.optString("imgurl");
		memo = obj.optString("memo");
	}
	public String getArtist_id() {
		return artist_id;
	}
	public void setArtist_id(String artist_id) {
		this.artist_id = artist_id;
	}
	public String getRealname() {
		return realname;
	}
	public void setRealname(String realname) {
		this.realname = realname;
	}
	public String getIs_auth() {
		return is_auth;
	}
	public void setIs_auth(String is_auth) {
		this.is_auth = is_auth;
	}
	public String getArtnum() {
		return artnum;
	}
	public void setArtnum(String artnum) {
		this.artnum = artnum;
	}
	public String getFollownum() {
		return follownum;
	}
	public void setFollownum(String follownum) {
		this.follownum = follownum;
	}
	public String getImgurl() {
		return imgurl;
	}
	public void setImgurl(String imgurl) {
		this.imgurl = imgurl;
	}
	public String getMemo() {
		return memo;
	}
	public void setMemo(String memo) {
		this.memo = memo;
	}
	public ArtistRankingParser() {
		super();
	}
	public ArtistRankingParser(String artist_id, String realname,
							   String is_auth, String artnum, String follownum, String imgurl,
							   String memo) {
		super();
		this.artist_id = artist_id;
		this.realname = realname;
		this.is_auth = is_auth;
		this.artnum = artnum;
		this.follownum = follownum;
		this.imgurl = imgurl;
		this.memo = memo;
	}
	@Override
	public String toString() {
		return "ArtistRankingParser [artist_id=" + artist_id + ", realname="
				+ realname + ", is_auth=" + is_auth + ", artnum=" + artnum
				+ ", follownum=" + follownum + ", imgurl=" + imgurl + ", memo="
				+ memo + "]";
	}
}
